package com.jike.shop.cloud.dto.goods;

import com.alibaba.fastjson.JSONArray;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class GoodsInfoDto {
    @ApiModelProperty(value = "商品id")
    private Long id;

    @ApiModelProperty(value = "品牌id")
    private Long brandId;

    @ApiModelProperty(value = "供应商id")
    private Long supplierId;

    @ApiModelProperty(value = "类目id")
    private Long categoryId;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "库存数")
    private Integer stockNum;

    @ApiModelProperty(value = "库存告警数")
    private Integer stockWarnNum;

    @ApiModelProperty(value = "是否有sku")
    private Boolean hasSku;

    @ApiModelProperty(value = "市场价格")
    private BigDecimal marketPrice;

    @ApiModelProperty(value = "成本价格")
    private BigDecimal costPrice;

    @ApiModelProperty(value = "最低价")
    private BigDecimal minPrice;

    @ApiModelProperty(value = "最高价")
    private BigDecimal maxPrice;

    @ApiModelProperty(value = "商品图片id列表")
    private JSONArray imageIds;

    @ApiModelProperty(value = "商品编码")
    private String code;

    @ApiModelProperty(value = "商品标签")
    private String tags;

    @ApiModelProperty(value = "状态(0: 供货中 1: 已下架 2:待上架 3:已删除)")
    private Integer status;

    @ApiModelProperty(value = "库存状态(0: 库存充足 1: 部分告警 2: 全部告警)")
    private Integer stockStatus;
}
